home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility1 / gs261src.zip / GSCOLOR2.H < prev    next >
C/C++ Source or Header  |  1993-05-17  |  2KB  |  39 lines

  1. /* Copyright (C) 1992, 1993 Aladdin Enterprises.  All rights reserved.
  2.  
  3. This file is part of Ghostscript.
  4.  
  5. Ghostscript is distributed in the hope that it will be useful, but
  6. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  7. to anyone for the consequences of using it or for whether it serves any
  8. particular purpose or works at all, unless he says so in writing.  Refer
  9. to the Ghostscript General Public License for full details.
  10.  
  11. Everyone is granted permission to copy, modify and redistribute
  12. Ghostscript, but only under the conditions described in the Ghostscript
  13. General Public License.  A copy of this license is supposed to have been
  14. given to you along with Ghostscript so you can know your rights and
  15. responsibilities.  It should be in a file named COPYING.  Among other
  16. things, the copyright notice and this notice must be preserved on all
  17. copies.  */
  18.  
  19. /* gscolor2.h */
  20. /* Client interface to Level 2 color routines for Ghostscript library */
  21. /* (requires gscspace.h, gxcolor.h) */
  22.  
  23. /* Note: clients should use rc_alloc_struct_0 (in gxrefct.h) to allocate */
  24. /* CIE color spaces or rendering structures. */
  25.  
  26. /* General color routines */
  27. const gs_color_space *gs_currentcolorspace(P1(const gs_state *));
  28. int    gs_setcolorspace(P2(gs_state *, gs_color_space *));
  29. const gs_client_color *gs_currentcolor(P1(const gs_state *));
  30. int    gs_setcolor(P2(gs_state *, const gs_client_color *));
  31. int    gs_currentoverprint(P1(const gs_state *));
  32. void    gs_setoverprint(P2(gs_state *, int));
  33.  
  34. /* CIE-specific routines */
  35. struct gs_cie_render_s;
  36. typedef struct gs_cie_render_s gs_cie_render;
  37. const gs_cie_render *gs_currentcolorrendering(P1(const gs_state *));
  38. int    gs_setcolorrendering(P2(gs_state *, gs_cie_render *));
  39.